home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / misc / pcm_demo / !PCM_Demo / !Help < prev    next >
Encoding:
Text File  |  1993-06-07  |  1.7 KB  |  32 lines

  1. !PCM Demo V1.0 1992 by Dharmesh Khatri
  2. --------------------------------------
  3.  
  4. !PCM Demo is a small program to demonstrate the method of Pulse Code
  5. Modulation which is used in communications. The reason for writing this
  6. program is that one of my friends wanted a simulation of PCM. When you load
  7. the program you will see three boxes.  In the first put in the wave using
  8. the mouse. This is done by moving your mouse on to the lift hand side of the
  9. box, then press the SELECT button on the mouse to draw the wave. Once this
  10. is done press the ADJUST button on the mouse.
  11.  
  12. In the second box a row of parallel lines will be printed on the screen,
  13. they represent a digital version of the original wave. (The program takes
  14. the values of a point (on the wave) and turns it into a binary number). On
  15. the third box the digital numbers are turned into decimal, these levels are
  16. shown. When you press the Space Bar, the peeks of each line will be joined
  17. to one another to show a wave. In certain waves the output may not look
  18. exactly the same as the original. This is due to the sampling speed. The
  19. binary numbers will also be printed. These are printed on the right.
  20.  
  21. If you press the SELECT button on the 'SINE WAVE', a sine wave will be drawn
  22. and all the rest will be done. 
  23.  
  24. Technical Details about the program
  25. ------------------------------------
  26. This program is done on mode 16, this is because I can get all the data in  
  27. one whole screen. I have slowed down the mouse step so the computer will
  28. take proper readings, and not miss any out. The box you draw your wave on is
  29. 1000 long and 256 up. The sampling rate is  1000/25, this means that it
  30. takes a reading after every 25 pixels. The program takes a Maxium of 40
  31. readings.
  32.